<template>
	<view>
		<cu-custom bgColor="bg-white" :isBack="true"><block slot="content" class="text-000 text-black text-bold">用户协议</block></cu-custom>
		<view class="padding-top bg-white padding text-df text-black">
			<RichText :content="agreement"/>
		</view>
	</view>
</template>

<script>
	import RichText     from './components/Content'
	export default {
		data(){
			return{
				agreement:''
			}
		},
		components: {
			RichText
		},
		onLoad(options){
			this.fetchData()
		},
		methods:{
			async fetchData(){
				let res  = await this.$api.useragreement();
				console.log(res)
				this.agreement = res.data.argeement
			},
		}
	}
</script>

<style>
</style>
